﻿
using SqlSugar;
using ZR.Model;

namespace ImportPlcPointPosition.Models
{
    /// <summary>
    /// 采集批次
    /// </summary>
    [SugarTable("cks_collected")]
    public class CksCollected : BaseEntity
    {
        /// <summary>
        /// Id 
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public long Id { get; set; }

        /// <summary>
        /// 采集批次 
        /// </summary>
        public string BatchCode { get; set; }

        /// <summary>
        /// 虚拟表名 
        /// </summary>
        public int TableId { get; set; }

        /// <summary>
        /// 序号 
        /// </summary>
        public long SequenceId { get; set; }

        /// <summary>
        /// PlcId 
        /// </summary>
        public int PlcId { get; set; }
        /// <summary>
        /// 主追溯码
        /// </summary>
        public string PrimaryCode {  get; set; }=string.Empty;

        public string Suffix_4 { get; set; } = string.Empty;
        /// <summary>
        /// 禁用状态 
        /// </summary>
        public bool Nullity { get; set; }

        /// <summary>
        /// 用于索引优化
        /// </summary>
        public string BatchSuffix { get; set; } = string.Empty;
        /// <summary>
        /// 创建时间 
        /// </summary>
        public DateTime CreatedTime { get; set; } = DateTime.Now;

       

    }
}